<?php
class LangsAction extends CommonAction {
	//首页
	public function index(){
		$this->listmap = 1;
        $this->_list();
		$this->display();
	}
	//ajax返回语言项列表
	public function getlist(){
		$id = $this->_get('id');
		$map['id'] = $id;
		$Langs = $this -> dao -> where($map) -> find();
		$this->assign('Langs', $Langs);
		$this->display('list');
	}
	

	
	public function addlist(){
		$this->display();
    }
}